斗鱼直播[官].js 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. var rule = {
  2. title: '斗鱼直播[官]',
  3. host: 'https://m.douyu.com',
  4. homeUrl: '/api/home/mix',//网站的首页链接,用于分类获取和推荐获取
  5. url: '/api/room/list?page=fypage&type=fyfilter',
  6. filterable: 1,//是否启用分类筛选,
  7. filter_url: '{{fl.cateId}}',
  8. filter: 'H4sIAAAAAAAAA519aVPb2pruX+Huz923z0n2Oad7fyPMCUOCyXirq0tYwpaRLZDseOg6VThswIQ5IQwxcyAQRhMIg81Qde8/ueUlyZ/6L9x3SV5a73L2/XC6KlVBg6U1vMPzjvrPX9LaL7/9r//8pV9J//LbL0EprrTJv/zTLzEpqsAxyY3apyU4fitpCcW9MUZPT6+TXL7tKb0Ah+rAL3//J+9K+WrI+XFpr0xUL6UH+/m14qR1uElGhqvXlGDav1ZZPytfz1YvRBOmGvQvWblLsr1QvdT60j9v301Xvqyzn5j+eXI/TN7vWed35OS6ejUlD8j4VZXsmJWdKBeLbJRqLJ3gL1xat3eH2E/VWCilJmqe3txRvSzHU+jNe6cwCWt6z5liU0lr8Qh/8EKhMjTOH5xKSLFf/v7vf//3f/rlaUPIXfF/dCecidNK/ncnO2/n2VK0d7XzNRo+qizuWVdXVm6metmIplP8+rd75+K9nT2wi/fV6w3NfKXGpuz5defu2r5ZYlcDj16j51uLG/anGbIzZxe/Vu94Ud/e1V3f2ePf09Dc2ug/G/70V2vu1rmftRaunZw/dN2M1xucYho7m6tX6F/+2a6e+gfsvPu3T2G39/BUMnNI5rfZK7v4G+134zbQ2c2Gc3LO6ElP8oEG2FMb9EQsrhiBuKH2K/51TdfKxbnK5kX5eoLc5NgOy5kwouOjeTJyWy6OV1aufNLM9NZct4a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ShwUkmKBuJemYZA0/j07LGTfhXV9ICzWg+IPw1HjDruF3ab6AS2BKHj51pkaJfk1UmI9ZR89bm2vIV4vCOpuHP9cFA2D4pDL9Ujl6sjrbIiYS9dNpRG3Cvc6KXMQ4Db+DCRMvB6+VKE+hsqXNZpPklviX+Kj4uVBn4bcWQ5YPJuTwGF19tgwdxymUhGUzwaGsTO84gl1RgkJhZYghGjjrj4F1wizb1xSKlyjngHBoO+QBjQlEBdakaBMttqFpylt2Mfv9vDz+r7x9L4U/hyUl5xqT+dRTnkGpSTxbDHMSE0NrzEnrXyh+Xn4M5kA34SPXFF37NknciXyeEOgGWfJVD5ske+ffRqiX8mRcOIW6OhagyuN7S27dALggBLZR/a1nj4znAr11ZAZXbXCBDn+LEh6MxQFo6ZaWtQfSYb/8dIiL6/C3p2z3vsfx46inv0U4N9+sseZBRRBvYcp9Lg+tz4tO+9YEXxElXT0ZU2aoLwwBuYGvKB6h/sdJDXu9lxwx50e+G+MGnP6gKTKCbTk98NgczZ3/E8mUdpw3WC1snua8QvNa03S7Ch3LG91Naj848MBi4Z+orS4TWb8Egac7u19v5RSm/8BuDROt3bu1yrFr15BORPUtBJSUsMJWSjPd7/aTW6GAFSyB2n9YXf0f/9/GBKlkTOCAAA=',
  9. filter_def: {
  10. yl: {cateId: 'yqk'},
  11. PCgame: {cateId: 'LOL'},
  12. djry: {cateId: 'TVgame'},
  13. syxx: {cateId: 'wzry'},
  14. yz: {cateId: 'yz'},
  15. kjwh: {cateId: 'smkj'},
  16. yp: {cateId: 'yiqiwan'},
  17. voice: {cateId: 'yyzs'},
  18. znl: {cateId: 'znl'}
  19. },
  20. class_name: '娱乐天地&网游竞技&单机热游&手游休闲&颜值&科技文化&语音互动&语音直播&正能量',// /api/cate/list
  21. class_url: 'yl&PCgame&djry&syxx&yz&kjwh&yp&voice&znl',
  22. detailUrl: 'http://live.yj1211.work/api/live/getRoomInfo?uid=&platform=douyu&roomId=fyid',// JustLive
  23. searchUrl: '/api/search/liveRoom?#did=10000000000000000000000000001501&limit=20&offset=0&sk=**;post',
  24. searchable: 2,
  25. quickSearch: 0,
  26. headers: {
  27. 'User-Agent': 'MOBILE_UA'
  28. },
  29. timeout: 5000,
  30. limit: 8,
  31. play_parse: true,
  32. lazy: '',
  33. 推荐: `js:
  34. let d = [];
  35. let jo = JSON.parse(request(input)).data;
  36. jo.forEach((it,idex) => {
  37. let slist = jo[idex].list ;
  38. slist.forEach(it => {
  39. d.push({
  40. url: it.rid,
  41. title: it.roomName,
  42. img: it.roomSrc,
  43. desc: '👁' + it.hn + ' 🆙' + it.nickname,
  44. })
  45. });
  46. });
  47. setResult(d);
  48. `,
  49. 一级: `js:
  50. let d = [];
  51. let jo = JSON.parse(request(input)).data.list;
  52. jo.forEach(it => {
  53. d.push({
  54. url: it.rid,
  55. title: it.roomName,
  56. img: it.roomSrc,
  57. desc: '👁' + it.hn + ' 🆙' + it.nickname,
  58. })
  59. });
  60. setResult(d);
  61. `,
  62. 二级: `js:
  63. try {
  64. if (typeof play_url === "undefined") {
  65. var play_url = ""
  66. }
  67. var jo = JSON.parse(request(input)).data;
  68. VOD = {
  69. vod_id: jo.roomId,
  70. vod_name: jo.roomName,
  71. vod_pic: jo.roomPic,
  72. type_name: "斗鱼." + jo.categoryName,
  73. vod_director: '🆙 ' + jo.ownerName,
  74. vod_content: "🏷分区:斗鱼" + "·" + jo.categoryName + " 🏷UP主:" + jo.ownerName + " 🏷人气:" + jo.online + (jo.isLive === 1 ? " 🏷状态:正在直播" : "状态:未开播")
  75. };
  76. let episodes = JSON.parse(request("http://live.yj1211.work/api/live/getRealUrlMultiSource?platform=" + jo.platForm + "&roomId=" + jo.roomId)).data; //多线路
  77. if (Object.keys(episodes).length !== 0) {
  78. let playFrom = [];
  79. let playList = [];
  80. let kplayList = [];
  81. Object.keys(episodes).forEach(function(key) {
  82. playFrom.append(key);
  83. kplayList = episodes[key].map(function(it) {
  84. let title = it.qualityName;
  85. let playUrl = it.playUrl
  86. return title + "$" + play_url + urlencode(playUrl)
  87. }).join("#")
  88. playList.append(kplayList);
  89. });
  90. let vod_play_from = playFrom.join("$$$");
  91. let vod_play_url = playList.join("$$$");
  92. VOD["vod_play_from"] = vod_play_from;
  93. VOD["vod_play_url"] = vod_play_url;
  94. } else {
  95. var d = [];
  96. episodes = JSON.parse(request("http://live.yj1211.work/api/live/getRealUrl?platform=" + jo.platForm + "&roomId=" + jo.roomId)).data; //单线路
  97. var name = {
  98. "OD": "原画",
  99. "FD": "流畅",
  100. "LD": "标清",
  101. "SD": "高清",
  102. "HD": "超清",
  103. "2K": "2K",
  104. "4K": "4K",
  105. "FHD": "全高清",
  106. "XLD": "极速",
  107. "SQ": "普通音质",
  108. "HQ": "高音质"
  109. };
  110. Object.keys(episodes).forEach(function(key) {
  111. if (!/ayyuid|to/.test(key)) {
  112. d.push({
  113. title: name[key],
  114. url: episodes[key]
  115. })
  116. }
  117. });
  118. d.push(
  119. {
  120. title: "解析1",
  121. url: "http://epg.112114.xyz/huya/" + jo.roomId
  122. },
  123. {
  124. title: "解析2",
  125. url: "https://www.aois.eu.org/live/huya/" + jo.roomId
  126. },
  127. {
  128. title: "解析3",
  129. url: "https://www.goodiptv.club/huya/" + jo.roomId
  130. },
  131. {
  132. title: "解析4",
  133. url: "http://maomao.kandiantv.cn/huya1.php?id=" + jo.roomId
  134. },
  135. {
  136. title: "解析5",
  137. url: "http://43.138.170.29:35455/huya/" + jo.roomId
  138. },
  139. {
  140. title: "解析6",
  141. url: "http://8.210.232.168/php/huya.php?id=" + jo.roomId
  142. },
  143. );
  144. VOD["vod_play_from"] = "播放源";
  145. VOD["vod_play_url"] = d.map(function(it) {
  146. return it.title + "$" + it.url
  147. }).join("#");
  148. setResult(d);
  149. }
  150. } catch (e) {
  151. log("获取二级详情页发生错误:" + e.message);
  152. }
  153. `,
  154. // 搜索:'json:data.list;roomName;roomSrc;nickname;roomId',
  155. 搜索: `js:
  156. var d = [];
  157. let rurls = input.split(';')[0].split('#');
  158. let rurl = rurls[0];
  159. let params = rurls.length > 1 ?rurls[1]:'';
  160. let _fetch_params = JSON.parse(JSON.stringify(rule_fetch_params));
  161. let postData = {body:params};
  162. Object.assign(_fetch_params,postData);
  163. let jo = JSON.parse(post(rurl,_fetch_params)).data.list;
  164. jo.forEach(it => {
  165. d.push({
  166. url: it.roomId,
  167. title: it.roomName,
  168. img: it.roomSrc,
  169. desc: '👁' + it.hn + ' 🆙' + it.nickname,
  170. })
  171. });
  172. setResult(d);
  173. `,
  174. //是否启用辅助嗅探: 1,0
  175. sniffer: 1,
  176. // 辅助嗅探规则js写法
  177. isVideo: `js:
  178. log(input);
  179. if(/\\/huya/.test(input)) {
  180. input = true
  181. } else if(/\\.flv?|\\.m3u8?|\\.mp4?/.test(input)){
  182. input = true
  183. }else{
  184. input = false
  185. }
  186. `,
  187. }